//
//  UserViewController.swift
//  RouterDemo
//
//  Created by lizhi on 2022/2/24.
//

import UIKit

class UserViewController: UIViewController {

    var userInfo : RouterUserInfo?
    
    override func viewDidLoad() {
        super.viewDidLoad()
        self.view.backgroundColor = .yellow
        self.title   = "用户"
    }
    
    init(param:ConvertToStringable?){
        super.init(nibName: nil, bundle: nil)
        if let tmpParam = param as? RouterUserInfo {
            self.userInfo = tmpParam
        }
    }
    
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destination.
        // Pass the selected object to the new view controller.
    }
    */

}
